﻿using System;
using System.Linq;
using System.Xml.Linq;
using System.Collections.Generic;

namespace CodeCounsel.SharePoint.RibbonDesigner.Model
{
    [XName("GroupTemplate", Namespaces.CommandUIText)]
    public class GroupTemplate
        : NamedDomainElement
    {
        public IEnumerable<Layout> Layouts
        {
            get { return Children.OfType<Layout>(); }
        }

        public GroupTemplate(XElement dataModel, DomainModelSource source)
            : base(dataModel, source)
        {
        }

        public GroupTemplate()
        {

        }
    }
}
